*{
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}
html,body,#root{
  width: 100%;
  height: 100%;
}

.Home{
  width: 100%;
  height: 100%;
  main{
    width: 100%;
    height: calc(100% - 50px);
  }
  footer{
    width: 100%;
    height: 50px;
  }
}

.Index{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #eee;
  .demo-swiper {
    .rv-swiper {
      width: 100%;
      height: 190px;
      background: rgb(212, 208, 208);
    }
  } 
  .MiaoSha{
    width: 100%;
    height: 140px;
    // background: red;
    h3{
      width: 100%;
      height: 50px;
      align-items: center;
      display: flex;
      .colon {
        display: inline-block;
        margin: 0 4px;
        color: blue;
      }
      .block {
        display: inline-block;
        width: 22px;
        color: #fff;
        font-size: 12px;
        text-align: center;
        background-color: blue;
        border-radius: 4px;
      }
    }
      
  }
  main{
    width: 100%;
    flex: 1;
  }
}

.Detail{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  main{
    width: 100%;
    flex: 1;
    .demo-swiper {
      .rv-swiper {
        img{
          width: 100%;
          height: 300px;
        }
      }
    }
    h2,h3{
      line-height: 40px;
    }
    h3{
      color: red;
    }
    p{
      line-height: 30px;
    }
}
  footer{
    width: 100%;
    height: 50px;
  }
}

.Shop{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  main{
    width: 100%;
    flex: 1;
    .rv-product-card__thumb{
      width: 120px;
      display: flex;
      align-items: flex-end;
    }
  }
  footer{
    width: 100%;
    height: 50px;
    .rv-submit-bar{
      bottom: 50px;
    }
  }
}

